package com.chengfei.springboot.blog.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by 飞 on 2017/10/21.
 */
@RestController//方便处理restful的请求
public class HelloController {
    @RequestMapping("/hello")
    public String hello(){
        return "hello world";
    }
}
